// 个人中心相关类型定义

export interface TopicWord {
  text: string;
  value: number;
  color?: string;
}

export interface InterestTrendPoint {
  date: string;
  nutrition: number;  // 营养
  mental: number;     // 心理
  exercise: number;   // 运动
  general: number;    // 综合
}

export interface Bookmark {
  id: string;
  title: string;
  content: string;
  source: string;
  category: string;
  createdAt: number;
  tags: string[];
}

export interface UserProfile {
  userId: string;
  username: string;
  avatar?: string;
  joinDate: number;
  totalSessions: number;
  totalMessages: number;
  topicCloud: TopicWord[];
  interestTrend: InterestTrendPoint[];
  bookmarks: Bookmark[];
}